|
xportethse 2.2.1
|
This file contains API for XPort ETH SE Click Driver. More...
#include "drv_digital_out.h"#include "drv_digital_in.h"#include "drv_uart.h"Go to the source code of this file.
Data Structures | |
| struct | xportethse_t |
| XPort ETH SE Click context object. More... | |
| struct | xportethse_cfg_t |
| XPort ETH SE Click configuration object. More... | |
Enumerations | |
| enum | xportethse_return_value_t { XPORTETHSE_OK = 0 , XPORTETHSE_ERROR = -1 , XPORTETHSE_ERROR_TIMEOUT = -2 , XPORTETHSE_ERROR_CMD = -3 } |
| XPort ETH SE Click return value data. More... | |
Functions | |
| void | xportethse_cfg_setup (xportethse_cfg_t *cfg) |
| XPort ETH SE configuration object setup function. | |
| err_t | xportethse_init (xportethse_t *ctx, xportethse_cfg_t *cfg) |
| XPort ETH SE initialization function. | |
| err_t | xportethse_generic_write (xportethse_t *ctx, uint8_t *data_in, uint16_t len) |
| XPort ETH SE data writing function. | |
| err_t | xportethse_generic_read (xportethse_t *ctx, uint8_t *data_out, uint16_t len) |
| XPort ETH SE data reading function. | |
| void | xportethse_send_cmd (xportethse_t *ctx, uint8_t *cmd) |
| XPort ETH SE send cmd function. | |
| void | xportethse_send_enter (xportethse_t *ctx) |
| XPort ETH SE send enter function. | |
| void | xportethse_set_rst_pin (xportethse_t *ctx, uint8_t state) |
| XPort ETH SE set RST pin function. | |
| void | xportethse_set_cts_pin (xportethse_t *ctx, uint8_t state) |
| XPort ETH SE set CTS pin function. | |
| uint8_t | xportethse_get_rts_pin (xportethse_t *ctx) |
| XPort ETH SE get RTS pin function. | |
| uint8_t | xportethse_get_dtr_pin (xportethse_t *ctx) |
| XPort ETH SE get DTR pin function. | |
| void | xportethse_reset_device (xportethse_t *ctx) |
| XPort ETH SE reset device function. | |
This file contains API for XPort ETH SE Click Driver.